<?php

	/**
	 * @see Bike_Js_Ext_Base
	 */
	require_once 'Bike/Js/Ext/Base.php';
	
	
	class Bike_Js_Ext_Template extends Bike_Js_Ext_Base
	{
		static protected $_partOffset = 1;

		protected $_part = 'Template';

		protected function _makeOptions(array $Args=null)
		{
			$options = $Args;
			$argsCount = sizeof($Args);
			if($argsCount)
			{
				if($argsCount == 1 && is_array($Args[0]))
				{
					$options = $Args[0];
				}
			}
			return $options;
		}

		/*protected function _jsonEncode()
		{
			$Args = func_get_args();
			$args = (array) call_user_func_array(array($this, '_prepare'), $Args);
			foreach($args as $key => $value)
			{
				$args[$key] = $this->jsonEncode($value);
			}
			return join(',', $args);
		}*/
	}
